package com.road.yishi.protocol;

/**
 * 聊天服务器协议编号
 *  * 							|Client[0x0000,0x1388]
 * 									|
 * 								|Gateway[0x4E21,0x61A8]
 * 		/							|						\
 *	|Castle[0x1389,0x2710]	|Battle[0x2711,0x3A98]	|Chat[0x3A99,0x4E20]   
 * 
 */
public interface ChatProtocol {

	/**
	 * Chat 0x3A99
	 **/
	public static final short CH_REGISTER = 0x3B60;                     // 注册连接到chat服务器
	public static final short CH_PLAYER_LOGIN = 0x3A99; 				// 领主登陆
	public static final short CH_PLAYER_OUT = 0x3A9A; 					// 领主退出
	public static final short CH_ADD_RELATIONSHIP = 0x3A9B;				// 将添加好友到好友列表或者黑名单列表
	public static final short CH_REMOVE_RELATIONSHIP = 0x3A9C;			// 从好友列表或者黑名单列表删除
	public static final short CH_CHANNEL_CHAT = 0x3A9D;					// 聊天
	public static final short CH_BAG_USEBIGBUGLE = 0x3A9E;				// 使用大喇叭
	public static final short CH_SYSTEM_NOTIFY = 0x3A9F;				// 系统提示
	public static final short CH_SERVER_LOGIN = 0x3AA0;
	public static final short CH_CONSORTIA_NOTIC = 0x3AA1;				// 公会转发包
	public static final short CH_PLAYER_SET = 0x3AA2;					// 设定用户信息
	public static final short CH_BROADCAST_MSG = 0x3AA3;				// 向聊天服务器广播系统消息
	public static final short CH_FRIENDADD_CONFIRM = 0x3AA4;			// 添加好友验证
	public static final short CH_RECOMMENDLIST = 0x3AA5;				// 推荐好友
	public static final short CH_FRIEND_ADDGP = 0x3AA6;					// 添加好感度
	public static final short CH_CHAT_CHANNEL_CHANGE = 0x3AA7;			// 聊天频道切换
	public static final short CH_BAG_USESMALLBUGLE = 0x3AA8;			// 使用小喇叭	
	public static final short CH_TREE_WATER = 0x3AA9;					// 浇水
	public static final short CH_TEXT_ALERT = 0x3AAA;					// 提示
	public static final short CH_SYS_ALERT = 0x3AAB;					// 大喇叭系统提示
	public static final short CH_ON_LINE_RSP = 0x3AAC;	    			// 请求在线玩家列表(聊天服务器)
	public static final short CH_DROP_TIPS=0x3AAD;						// 掉落物品提示信息  
	public static final short CH_CONSORTIA_TIPS=0x3AAE;					// 公会提示信息
	public static final short CH_PRIVATE_CHAT = 0x3AAF;					// IM私聊 
	public static final short CH_ADD_GROUP = 0x3AB1;					// 添加好友分组
	public static final short CH_DEL_GROUP = 0x3AB2;					// 删除好友分组
	public static final short CH_RENAME_GROUP = 0x3AB3;					// 重命名分组
	public static final short CH_FRIEND_MOVE = 0x3AB4;					// 移到好友到分组
	public static final short CH_EXCHANGE_STATE = 0x3AB5;				// 切换聊天状态
	public static final short CH_COMPLETED_INSTANCE = 0x3AB6;			// 副本通关
	public static final short CH_LOAD_FRIEND_LIST = 0x3AB7;	    		// 加载好友列表
	public static final short CH_REQUEST_PROPERTY = 0x3AB8;	    		// 好友加成
	public static final short CH_SNS_UPDATE = 0x3AB9;	    			// 更新社交信息
	public static final short CH_SNS_REQ = 0x3ABA;	    				// 请求社交信息
	
	public static final short CH_SYSMSG_BROAD = 0x3ABB;					// 系统广播
	public static final short CH_SNSINFO_RESET = 0x3ABC;				// 社交信息重置
	public static final short CH_FRIEND_SNS_REQ = 0x3ABD;				// 请求单个玩家社交
	public static final short CH_SIMPLEUSER_INFO = 0x3ABE;              // 查看用户简要信息
	public static final short CH_CLEAR_DELFRIEND = 0x3ABF;				// 清除好友删除上限
	
	public static final short CH_UPDATE_RECENT_CONTRACTS = 0x3AC1;      // 更新最近联系人
	public static final short CH_FRIEND_SEARCH = 0x3AC2;      			// 好友搜索
	public static final short CH_CHAT_STATE = 0x3AC3;					// 请求最近联系人状态
	
	// 农场
	public static final short CH_FARM_OPER_CHECK = 0x3AC4;			 	// 农场操作和查询
	public static final short CH_VIP_FRIENDCHANGE = 0x3AC5;				// vip 好友数量修改
	
	public static final short CH_ITEM_ROSE = 0x3AC6;				    // 玫瑰花
	
	public static final short CH_CONSORTIA_EVENT = 0x3AC7;				// 公会事件广播
	
	public static final short CH_CONSORTIA_VIP = 0x3AC8;				// 公会群广播玩家VIP开通
	
	public static final short CH_DIRTY_WORD = 0x3AC9;				        // 更新脏字符
}
